Skip to content

},-2)}

ChangeSet(TContext) constructor

Defined in

Type: ChangeSet Namespace: DynamicData Assembly: DynamicData.dll

Applies to

net10.0, netstandard2.0

Overloads

  1. public ChangeSet(TContext context)

  2. public ChangeSet(IEnumerable<Change<TObject, TKey>> collection, TContext context)

  3. public ChangeSet(int capacity, TContext context)

1. Overload

public ChangeSet(TContext context)

View source

Summary: Initializes a new instance of the ChangeSet class.

Parameters

NameTypeDescription
contextTContextThe additional context.

2. Overload

public ChangeSet(IEnumerable<Change<TObject, TKey>> collection, TContext context)

View source

Summary: Initializes a new instance of the ChangeSet class.

Parameters

NameTypeDescription
collectionIEnumerable>The collection of items to start the change set with.
contextTContextThe additional context.

3. Overload

public ChangeSet(int capacity, TContext context)

View source

Summary: Initializes a new instance of the ChangeSet class.

Parameters

NameTypeDescription
capacityintThe initial capacity of the change set.
contextTContextThe additional context.